package net.sureon.biz;

import java.util.List;

import net.sureon.dao.DailyTimingReminder;
import net.sureon.dao.ReminderDAO;
import net.sureon.dao.ToBeApproveReminder;

public class ReminderMgrImpl implements ReminderMgr {

	private ReminderDAO reminderDAO;

    /**
     * @return the reminderDAO
     */
    public ReminderDAO getReminderDAO() {
        return reminderDAO;
    }


    /**
     * @param reminderDAO the reminderDAO to set
     */
    public void setReminderDAO(ReminderDAO reminderDAO) {
        this.reminderDAO = reminderDAO;
    }

    public List<DailyTimingReminder> getDailyTimingReminderList(long companyID, int interval) {
        return getReminderDAO().getdailyTimingReminderList(companyID, interval);
    }


	public List<ToBeApproveReminder> getToBeRemindedApplications(long companyID,
			int interval) {
		return getReminderDAO().getToBeRemindedApplications(companyID, interval);
	}
	public List<ToBeApproveReminder> getToBeRemindedDailyTimingApproval(long companyID,
			int interval) {
		return getReminderDAO().getToBeRemindedDailyTimingApproval(companyID, interval);
	}
}
